package com.alibaba.algo.cooperation.usercomponent.service.user;

import com.alibaba.algo.cooperation.common.BaseResult;
import com.alibaba.algo.cooperation.usercomponent.vo.req.cache.CacheRequestVO;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

public interface SysUserCacheService {

    @RequestMapping(value = "/deleteUserFromCache", method = RequestMethod.POST)
    BaseResult deleteUserFromCache(@RequestBody CacheRequestVO cacheRequestVO);

    @RequestMapping(value = "/batchDeleteUserFromCache", method = RequestMethod.POST)
    BaseResult batchDeleteUserFromCache(List<CacheRequestVO> cacheRequestVOList);

}
